#include <iostream>
using namespace std;
int main()
{
    int m;
    cin >> m;
    cout << double(m) / 2 << " " << m / 2;
    return 0;
}